package com.bootdo.core.dao;

import com.bootdo.core.domain.ShortVideoDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 短视频表
 * @author xgc
 * @email 1992lcg@163.com
 * @date 2019-04-25 20:47:48
 */
@Mapper
public interface ShortVideoDao {

	ShortVideoDO get(Integer id);
	
	List<ShortVideoDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ShortVideoDO shortVideo);
	
	int update(ShortVideoDO shortVideo);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int review(@Param(value = "id")Integer id, @Param(value = "reviewStatus")String reviewStatus);
}
